package com.gjy.util.encryption.sm.sm2;

import java.io.Serializable;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-07-07 15:32:38
 */
public class Keypair implements Serializable {

    protected String privateKey;
    protected String publicKey;

    public Keypair() {
    }

    public Keypair(String privateKey, String publicKey) {
        this.privateKey = privateKey;
        this.publicKey = publicKey;
    }

    public String getPrivateKey() {
        return this.privateKey;
    }

    public void setPrivateKey(String privateKey) {
        this.privateKey = privateKey;
    }

    public String getPublicKey() {
        return this.publicKey;
    }

    public void setPublicKey(String publicKey) {
        this.publicKey = publicKey;
    }

    public String toString() {
        return "Keypair{privateKey='" + this.privateKey + '\'' + ", publicKey='" + this.publicKey + '\'' + '}';
    }

}
